#include "bsp_init.h"

void P0_OUT(unsigned char ucDate,unsigned char ucAddress){

	P0 = ucDate;
	P2 &= 0x1f;
	P2 |= ucAddress << 5;
	P2 = 0x1f;
}

void Close_Peripheral(void){
	
	P0_OUT(0xff,4);
	P0_OUT(0x00,5);
}